package com.chan.hook;

import android.app.Activity;
import android.os.Bundle;

/**
 * 目前有Bug  如果activity继承自AppCompatActivity 那么会出现crash
 */
public class PluginActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
    }

    @Override
    protected void onResume() {
        super.onResume();
        System.out.println("onResume");
    }

    @Override
    protected void onPause() {
        super.onPause();
        System.out.println("onPause");
    }
}
